package io.gitee.tziye.core.kv;

import io.gitee.tziye.RenaiClient;

public abstract class PairOperator extends KvOperator {

    public PairOperator(RenaiClient renaiClient) {
        super(renaiClient);
    }

    public abstract <T> void set(String key, T value);

    public abstract <T> void set(String key, T value, int expireSeconds);

    public abstract <T> T get(String key, Class<T> clazz);

    public abstract long incr(String key, long num);

}
